package com.happycat.mobile.model;
 
import java.util.Date;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
 * Module: UserShortMessage.java
 *
 * @author liaoyong
 * @since JDK 1.8
 * @version 1.0
 * @date 2020-07-24
 * @Descriptions:
 */
@Data
@TableName(value = "user_short_message")
@ApiModel
public class UserShortMessage  {
	
	

	@TableId(value = "id", type = IdType.INPUT)
	@ApiModelProperty(value="")
	private Long id;
	
	
	@ApiModelProperty(value="手机号，加密处理",required = true)
	@TableField("phone")
	private String phone;
	
	
	@ApiModelProperty(value="内容")
	@TableField("message")
	private String message;
	
	@ApiModelProperty(value="短信模板编码:1.注册模板，2.登录模板3.修改密码4.重置密码",required = true)
	@TableField("template_code")
	private String templateCode;
	
	@ApiModelProperty(value="短信签名名称")
	@TableField("sign_name")
	private String signName;
	
	@ApiModelProperty(value="创建时间",example = "2020-01-01T12:18:48")
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@TableField("create_time")
	private Date createTime;
	
	@ApiModelProperty(value="1:已使用，0：未使用")
	@TableField("status")
	private Integer status;
	
}